@echo off 
echo ================================ 
echo Building projects with dotnet...
echo -------------------------------
echo Building SimpleTongHuaShun project...
dotnet build SimpleTongHuaShun.csproj -c Release -f net48
if errorlevel 1 (
    echo SimpleTongHuaShun build failed!
    pause
    exit /b 1
)
echo -------------------------------
echo Building RedisTestGUI project...
dotnet build RedisTestGUI.csproj -c Release -f net48
if errorlevel 1 (
    echo RedisTestGUI build failed!
    pause
    exit /b 1
)
echo ================================
echo Build completed! Files are in bin\Release\net48\
echo SimpleTongHuaShun.exe and RedisTestGUI.exe generated
pause
